package com.tjp.subject.application.convert;

import com.tjp.subject.application.entity.SubjectLabelDTO;
import com.tjp.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * @program: jz-club
 * @description: 标签DTO转BO接口
 * @author: aaronTang
 * @create: 2024-02-27
 */
@Mapper
public interface SubjectLabelBOConverter {
    SubjectLabelBOConverter INSTANCE = Mappers.getMapper(SubjectLabelBOConverter.class);

    SubjectLabelBO convertDTOToLabelBO(SubjectLabelDTO subjectLabelDTO);

    List<SubjectLabelDTO> convertBOListToDTOList(List<SubjectLabelBO> list);
}
